package pers.dawnyang.modular.system.domain.request.user;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;
import pers.dawnyang.common.core.annotation.PhoneNumber;

/**
 * 
 * @author: dawn yang
 * @date: 2021-02-10 10:16:59
 * 
 */

@Data
public class UserReqC implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编码
     */
    @NotBlank(message = "用户编码不能为空")
    private String userCode;

    /**
     * 用户昵称
     */
    @NotBlank(message = "用户名不能为空")
    private String userName;

    private Long deptId;

    private String email;

    @PhoneNumber
    private String phone;

    @NotNull(message = "状态不能为空")
    private Integer userStatus;

    private Integer sex;

    private String remark;
}
